package com.ruoyi.ZdElectricityUsage.mapper;

import java.util.List;
import com.ruoyi.ZdElectricityUsage.domain.ZdElectricityUsage;

/**
 * 用电信息Mapper接口
 * 
 * @author 智电未来
 * @date 2024-07-09
 */
public interface ZdElectricityUsageMapper 
{
    /**
     * 查询用电信息
     * 
     * @param orderNumber 用电信息主键
     * @return 用电信息
     */
    public ZdElectricityUsage selectZdElectricityUsageByOrderNumber(Long orderNumber);

    /**
     * 查询用电信息列表
     * 
     * @param zdElectricityUsage 用电信息
     * @return 用电信息集合
     */
    public List<ZdElectricityUsage> selectZdElectricityUsageList(ZdElectricityUsage zdElectricityUsage);

    /**
     * 新增用电信息
     * 
     * @param zdElectricityUsage 用电信息
     * @return 结果
     */
    public int insertZdElectricityUsage(ZdElectricityUsage zdElectricityUsage);

    /**
     * 修改用电信息
     * 
     * @param zdElectricityUsage 用电信息
     * @return 结果
     */
    public int updateZdElectricityUsage(ZdElectricityUsage zdElectricityUsage);

    /**
     * 删除用电信息
     * 
     * @param orderNumber 用电信息主键
     * @return 结果
     */
    public int deleteZdElectricityUsageByOrderNumber(Long orderNumber);

    /**
     * 批量删除用电信息
     * 
     * @param orderNumbers 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteZdElectricityUsageByOrderNumbers(Long[] orderNumbers);
}
